import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;

/**
 * Created by LuoTao on 2016/10/26.
 * LemonTech Copyright reserved.
 */
public class run {
    private static Logger logger = LogManager.getLogger(run.class.getName());
    public static void main(String[] args) {
        logger.info("开始");
        MonitorConfig config = MonitorConfig.getConfig(args[0]);
        monitor tmp = new monitor();
        tmp.run(config);
        logger.info("完成");
    }
}
